package com.flowable;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.core.env.ConfigurableEnvironment;

@Slf4j
@SpringBootApplication
public class FlowableApplication {
    public static void main(String[] args) {
        ConfigurableEnvironment environment =
                SpringApplication.run(FlowableApplication.class, args).getEnvironment();

        log.info("\nLocal URL: \thttp://localhost:{}", environment.getProperty("spring.application.name"));
        log.info("\nDocument:\thttp://localhost:{}/doc.html", environment.getProperty("server.port"));
        log.info("\nswagger:\thttp://localhost:{}/swagger-ui/index.html", environment.getProperty("server.port"));


    }
}
